package com.jc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author  luoyong
 * @Date 2021.3.19
 * @Description 主程序入口类
 */
@SpringBootApplication(scanBasePackages = "com.jc")
@ComponentScan(basePackages = {"com.jc.controller","com.jc.service","com.jc.dao","com.jc.mapper"})
@MapperScan("com.jc.mapper")
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
